package org.swift.mashup.engine.concurrency.execution;

public class Parameter {

		
	
	private String value = "";
	private String name = "";
	private Rule rule = null;

	public Parameter(){
		
	}
	public Parameter(String name, String value){
		this.setName(name);
		this.setValue(value);
	}
	public Parameter(String name, String value, Rule rule){
		this.setName(name);
		this.setValue(value);
		this.setRule(rule);
	}
	/**
	 * Getter of the property <tt>name</tt>
	 *
	 * @return Returns the name.
	 * 
	 */
	public String getName()
	{
		return name;
	}
	
	/**
	 * Setter of the property <tt>name</tt>
	 *
	 * @param name The name to set.
	 *
	 */
	public void setName(String name ){
		this.name = name;
	}
	 
	/**
	 * Getter of the property <tt>value</tt>
	 *
	 * @return Returns the value.
	 * 
	 */
	public String getValue()
	{
		return value;
	}
	
	/**
	 * Setter of the property <tt>value</tt>
	 *
	 * @param value The value to set.
	 *
	 */
	public void setValue(String value ){
		this.value = value;
	}
	 
	/**
	 * Getter of the property <tt>rule</tt>
	 *
	 * @return Returns the rule.
	 * 
	 */
	public Rule getRule()
	{
		return rule;
	}
	
	/**
	 * Setter of the property <tt>rule</tt>
	 *
	 * @param rule The rule to set.
	 *
	 */
	public void setRule(Rule rule ){
		this.rule = rule;
	}

}
